package com.cocolove2.library_cocodialog.animations;

import android.animation.ObjectAnimator;
import android.view.View;


public class NewsPaperEnter extends BaseAnimatorEffects {


    @Override
    protected void setupAnimator(View view) {
        getAnimatorSet().setDuration(800).playTogether(
                ObjectAnimator.ofFloat(view, "rotation", 1080, 720, 360, 0),
                ObjectAnimator.ofFloat(view, "alpha", 0, 1),
                ObjectAnimator.ofFloat(view, "scaleX", 0.1f, 0.5f, 1),
                ObjectAnimator.ofFloat(view, "scaleY", 0.1f, 0.5f, 1)

        );
    }
}
